$OpenBSD: patch-lib_rubygems_config_file_rb,v 1.5 2012/04/27 18:41:07 jeremy Exp $
--- lib/rubygems/config_file.rb.orig	Thu Apr 19 21:29:58 2012
+++ lib/rubygems/config_file.rb	Mon Apr 23 12:50:57 2012
@@ -70,7 +70,7 @@ class Gem::ConfigFile
 
         path.strip
       rescue LoadError
-        RbConfig::CONFIG["sysconfdir"] || "/etc"
+        RbConfig::CONFIG["sysconfdir"] || '${SYSCONFDIR}'
       end
     end
 
